package cn.szq.springframework.beans.factory;

import cn.szq.springframework.beans.BeansException;

/**
 * @description: 容器感知类
 * @author: szq
 * @date: 2021-09-11 14:37:44
 */
public interface BeanFactoryAware extends Aware{

    /**
     * 实现此接口，既能感知到所属的 BeanFactory
     * @param beanFactory
     * @throws BeansException
     */
    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
